//
//  ItemPickerDataSource.h
//  MoneyBook
//
//  Created by Justin Kim on 11. 6. 28..
//  Copyright 2011 Daum. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface ItemPickerDataSource : NSObject <UIPickerViewDataSource>{
    NSArray *_isInArray;
    NSArray *_itemGroupPickerArray;
	NSArray	*_itemPickerArray;
    
    NSString *_itemGroupName;
    NSNumber *_itemGroupId;
    NSString *_itemName;    
    NSNumber *_itemId;
    
    NSString *_isIn;
}

@property (nonatomic, retain) NSArray *isInArray;
@property (nonatomic, retain) NSArray *itemGroupPickerArray;
@property (nonatomic, retain) NSArray *itemPickerArray;

@property (nonatomic, retain) NSString *itemGroupName;
@property (nonatomic, retain) NSNumber *itemGroupId;
@property (nonatomic, retain) NSString *itemName;
@property (nonatomic, retain) NSNumber *itemId;

@property (nonatomic, retain) NSString *isIn;

-(void)loadItemGroupByIsIn:(NSString*)isIn;
-(void)loadItemByItemGroupId:(NSNumber*)itemGroupId;
@end
